wayland: Use shm_open(SHM_ANON) on FreeBSD
authormyfreeweb <greg@unrelenting.technology>
Tue, 19 Jun 2018 14:49:18 +0000 (14:49 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 19 Jun 2018 15:45:49 +0000 (11:45 -0400)
commita1bcbdd02af14406fb912dc16d789ba4a07dd4b8
treeb8179464ae24e19051ce6a0aa044346563394224
parentcbbb7604b6e0d66cb5b8b51d4ca28d56f412452d
wayland: Use shm_open(SHM_ANON) on FreeBSD

This functionality is similar to Linux's memfd. It creates anonymous shared memory without touching the filesystem, which allows it to work in Capsicum capability mode (sandbox).
gdk/wayland/gdkdisplay-wayland.c